package com.ruoyi.whole.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.whole.domain.DmsDealerWholePurchase;
import com.ruoyi.whole.domain.DmsWholeVehicleDelivery;

import java.util.List;

/**
 * 车辆发运
Service接口
 * 
 * @author liuchuanfa
 * @date 2024-03-08
 */
public interface IDmsWholeVehicleDeliveryService extends IService<DmsWholeVehicleDelivery>
{
    /**
     * 查询车辆发运
     * 
     * @param id 车辆发运主键
     * @return 车辆发运
     */
    public DmsWholeVehicleDelivery selectDmsWholeVehicleDeliveryById(Long id);

    /**
     * 查询车辆发运列表
     * 
     * @param dmsWholeVehicleDelivery 车辆发运
     * @return 车辆发运集合
     */
    public List<DmsWholeVehicleDelivery> selectDmsWholeVehicleDeliveryList(DmsWholeVehicleDelivery dmsWholeVehicleDelivery);

    /**
     * 新增车辆发运
     * 
     * @param dmsWholeVehicleDelivery 车辆发运
     * @return 结果
     */
    public int insertDmsWholeVehicleDelivery(DmsWholeVehicleDelivery dmsWholeVehicleDelivery);

    /**
     * 修改车辆发运
     * 
     * @param dmsWholeVehicleDelivery 车辆发运
     * @return 结果
     */
    public int updateDmsWholeVehicleDelivery(DmsWholeVehicleDelivery dmsWholeVehicleDelivery);

    /**
     * 批量删除车辆发运
     * 
     * @param ids 需要删除的车辆发运主键集合
     * @return 结果
     */
    public int deleteDmsWholeVehicleDeliveryByIds(Long[] ids);

    /**
     * 删除车辆发运信息
     * 
     * @param id 车辆发运主键
     * @return 结果
     */
    public int deleteDmsWholeVehicleDeliveryById(Long id);

    /**
     * 根据发运单号，查询采购订单信息
     *
     * @param id 车辆发运主键
     * @return 车辆发运
     */
    public DmsDealerWholePurchase getPurchaseListByDeliveryId(Long id);
}
